Skip to content

Conversation

@JkktBkkt
Copy link

Current version was:
if not sys.version_info < (3, 6) -> exit
let's test this:
Ex. 1
sys.version_info = (3, 5)
sys.version_info < (3, 6) ? true
not sys.version_info < (3, 6) ? false -> try continuing the installation as normal
Ex. 2
sys.version_info = (3, 10)
sys.version_info < (3, 6) ? false
not sys.version_info < (3, 6) ? true -> exit, error message "Python 3.6 or newer is required"
If 3.6 or newer is required, the 'not' in the check is breaking it. Admittedly, most users probably stay on the release version. Still, this shouldn't be so obviously and easily fixable imo.

… then not'ing the result of the check.

Current version was:
if not sys.version_info < (3, 6) -> exit
let's test this:
Ex. 1
	sys.version_info = (3, 5)
	sys.version_info < (3, 6) ? true
	not sys.version_info < (3, 6) ? false -> try continuing the installation as normal
Ex. 2
	sys.version_info = (3, 10)
	sys.version_info < (3, 6) ? false
	not sys.version_info < (3, 6) ? true -> exit, error message "Python 3.6 or newer is required"
If 3.6 or newer is required, the 'not' in the check is breaking it.
Admittedly, most users probably stay on the release version. Still, this shouldn't be so obviously and easily fixable imo.
@ossilator
Copy link

fixes #77

@dlenski
Copy link
Owner

dlenski commented Jun 7, 2024

Thanks, fixed this in e539415, but also see d1907a0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants